package general.art;

import general.exceptions.NodeNotFoundException;

import java.sql.SQLException;


/**
 * 
 * Cluster with a center node as the seed node.
 * 
 * @author thomas
 *
 */
public class CenteredCluster extends Cluster {

	private final Node seedNode;
	
	public CenteredCluster(int seedNodeId, int depth) throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException, NodeNotFoundException {
		super(seedNodeId, depth);
		seedNode = Node.FIND_NODE(seedNodeId);
	}

	
	public Node getSeedNode(){
		
		return seedNode;
		
	}
	
	
	
}
